package com.eastfair.common.service;

import com.eastfair.common.dto.GmApiCstAdrInfDtos;
import com.eastfair.common.dto.GmApiCstCtcInfDtos;
import com.eastfair.common.dto.GmApiCstIssubillInfDtos;
import com.eastfair.common.dto.GmApiCstNmInfDtos;
import com.eastfair.common.res.CrmResult;
import com.eastfair.common.res.LogisticsRes;

/**
 * Crm 同步客户 Service.
 *
 * @author dqq
 * @date 2023 /1/31
 */
public interface CrmCustomerInfoSyncService {

  /**
   * 同步客户名称.
   *
   * @param gmApiCstNmInfDtos the gm api cst nm inf dtos
   * @return the logistics res
   */
  CrmResult syncCustomerInfo(GmApiCstNmInfDtos gmApiCstNmInfDtos);

  /**
   * 同步客户地址.
   *
   * @param gmApiCstAdrInfDtos the gm api cst adr inf dtos
   * @return the logistics res
   */
  CrmResult syncCustomerAddressInfo(GmApiCstAdrInfDtos gmApiCstAdrInfDtos);

  /**
   * 同步客户开票信息.
   *
   * @param gmApiCstIssubillInfDtos the gm api cst adr inf dtos
   * @return the logistics res
   */
  CrmResult syncCustomerInvoiceInfo(GmApiCstIssubillInfDtos gmApiCstIssubillInfDtos);

  /**
   * 同步客户联系信息.
   *
   * @param gmApiCstCtcInfDtos the gm api cst ctc inf dtos
   * @return the logistics res
   */
  CrmResult syncCustomerContractInfo(GmApiCstCtcInfDtos gmApiCstCtcInfDtos);
}